﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<ali:Get ID="SubInstance" Object="SubInstance" InnerID="Request.QueryString['ID']" Validate="True" />
<section data-page="sub_instance_edit" data-title="编辑子实例" data-lang="<%=ContentLang%>" data-id="<%=Request.QueryString["ID"]%>">
	<dl class="path1">
		<dt><span>您的位置：</span><a href="list.aspx?Lang=<%=ContentLang%>" target="ali-navtab">子实例列表</a> → <b class="<%=ContentLang%>Font"><%=SubInstance[Name]%></b></dt>
		<dd>
			<select data-ali-widget="combo" data-class="<%=ContentLang%>Font">
				<ali:List Mark="System" Object="Language" Source="Manager.Languages">
					<ali:Record>
						<%If Convert.ToString(Ab) == ContentLang%>
							<option value="<%=Ab%>" selected><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%Else%>
							<option value="<%=Ab%>"><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%EndIf%>
					</ali:Record>
				</ali:List>
			</select>
		</dd>
	</dl>
	<form action="?Lang=<%=ContentLang%>" class="post">
		<div class="post-body">
			<table class="post-table margin2">
				<tr>
					<th>名称：</th>
					<td>
						<input type="text" name="Name" value="<%=SubInstance[Name]%>" size="40" maxlength="50" class="ali-input <%=ContentLang%>Font">
					</td>
				</tr>
				<tr>
					<th>用户：</th>
					<td>
						<input type="text" name="UserName" value="<%=SubInstance[UserName]%>" size="20"  readonly class="ali-input <%=ContentLang%>Font">
						<input type="hidden" name="UserID" value="<%=SubInstance[UserID]%>"><a class="ali-button" data-operation="SelectUser">选择</a>
					</td>
				</tr>
			</table>
		</div>
		<div class="post-footer"><button type="submit" class="ali-button">保 存</button></div>
	</form>
</section>